package cn.javass.dp.strategy.mydemo2;

/**
 * <p><em>Created on 2021/1/27 14:35</em></p>
 *
 * @author x
 * @since 1.0.1
 */
public class Content {

    Strategy strategy;


    public String  sendMsg() {
        if (1 == 1) {
            strategy = new SendMessage1();
        } else {
            strategy = new SendMessage2();
        }

        return strategy.sendMsg();
    }
}
